package com.xilihui.xlh.business.entities;

import com.xilihui.xlh.core.app.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/8/13.
 */

public class BalanceEntity extends BaseEntity{


    /**
     * selected_goods : [{"goods_id":"2","agent_id":"8","goods_name":"2","goods_price":"4700.00","goods_num":"3","spec_key_name":"网络:3G 内存:16G","original_img":"/public/upload/goods/2016/03-09/56e01a4088d3b.jpg"}]
     * subtotal : 14100
     * total_price : 14100
     * total_num : 3
     * agent_info : {"name":"测试添加门店1","phone":"13877777666","lng":"118.16473087","lat":"24.53387528","district_id":"16303","address":"福建省 厦门市 湖里区 保生堂大厦"}
     */

    private String subtotal;
    private String total_price;
    private String total_num;
    private AgentInfoBean agent_info;
    private List<SelectedGoodsBean> selected_goods;

    public String getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(String subtotal) {
        this.subtotal = subtotal;
    }

    public String getTotal_price() {
        return total_price;
    }

    public void setTotal_price(String total_price) {
        this.total_price = total_price;
    }

    public String getTotal_num() {
        return total_num;
    }

    public void setTotal_num(String total_num) {
        this.total_num = total_num;
    }

    public AgentInfoBean getAgent_info() {
        return agent_info;
    }

    public void setAgent_info(AgentInfoBean agent_info) {
        this.agent_info = agent_info;
    }

    public List<SelectedGoodsBean> getSelected_goods() {
        return selected_goods;
    }

    public void setSelected_goods(List<SelectedGoodsBean> selected_goods) {
        this.selected_goods = selected_goods;
    }

    public static class AgentInfoBean implements Serializable{
        /**
         * name : 测试添加门店1
         * phone : 13877777666
         * lng : 118.16473087
         * lat : 24.53387528
         * district_id : 16303
         * address : 福建省 厦门市 湖里区 保生堂大厦
         */

        private String name;
        private String phone;
        private String lng;
        private String lat;
        private String district_id;
        private String address;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getLng() {
            return lng;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getDistrict_id() {
            return district_id;
        }

        public void setDistrict_id(String district_id) {
            this.district_id = district_id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }

    public static class SelectedGoodsBean implements Serializable{
        /**
         * goods_id : 2
         * agent_id : 8
         * goods_name : 2
         * goods_price : 4700.00
         * goods_num : 3
         * spec_key_name : 网络:3G 内存:16G
         * original_img : /public/upload/goods/2016/03-09/56e01a4088d3b.jpg
         */

        private String goods_id;
        private String agent_id;
        private String goods_name;
        private String goods_price;
        private String goods_num;
        private String spec_key_name;
        private String original_img;

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getAgent_id() {
            return agent_id;
        }

        public void setAgent_id(String agent_id) {
            this.agent_id = agent_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getGoods_price() {
            return goods_price;
        }

        public void setGoods_price(String goods_price) {
            this.goods_price = goods_price;
        }

        public String getGoods_num() {
            return goods_num;
        }

        public void setGoods_num(String goods_num) {
            this.goods_num = goods_num;
        }

        public String getSpec_key_name() {
            return spec_key_name;
        }

        public void setSpec_key_name(String spec_key_name) {
            this.spec_key_name = spec_key_name;
        }

        public String getOriginal_img() {
            return original_img;
        }

        public void setOriginal_img(String original_img) {
            this.original_img = original_img;
        }
    }
}
